{include file="header.tpl" title="par_ssrpttype"}
<form action="" method="post" target="_self" name="tongquat">
<table width="585" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="16%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="84%" colspan="3" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<td colspan="7"><hr></td>
</tr>
  <tr>
  	<td colspan="8"><!--<input type="submit" id="getName" name="getName" value="   " style="visibility:hidden;"/> onchange="document.getElementById('getName').click();" --></td>
    </tr>
  
  <tr>
    <td colspan="3"><table width="540" border="0">
      <tr>
        <td>{$lbl_Type}</td>
        <td><select name="Type" size="1" style="background:{$colorType}" id="Type" onchange="document.getElementById('findType').click();">  
		<option value=""></option>
		{foreach from=$cbo_define_report key=k item=v}
          <option value="{$k}" {if $Type eq $k} selected="selected" {/if}>{$k} - {$v}</option>    
 		{/foreach}		
        </select>
          <span style="color:#FF0000;">*
          <input type="submit" value="   " name="findType" id="findType" style="visibility:hidden;"/>
          </span></td>
      </tr>
      <tr>
        <td>{$lbl_RPTID}</td>
        <td><input name="RPTID" type="text" id="RPTID" style="background:{$colorRPTID}" value="{$RPTID}" size="15" maxlength="4" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" />
          <span style="color:#FF0000;">*</span></td>
        </tr>
      <tr>
        <td>{$lbl_VNDESC}</td>
        <td><input name="VNDESC" type="text" id="VNDESC" value="{$VNDESC}" size="60" style="background:{$colorVNDESC}"  maxlength="50" {if $checked eq 'false'} readonly="readonly" {/if} />
          <span style="color:#FF0000;">*</span></td>
        </tr>
      <tr>
        <td>{$lbl_ENDESC}</td>
        <td><input name="ENDESC" type="text" id="ENDESC" value="{$ENDESC}" size="60" maxlength="50" {if $checked eq 'false'} readonly="readonly" {/if} /></td>
        </tr>
      <tr>
        <td>{$lbl_EFFTIME}</td>
        <td><input name="EFFTIME" id="EFFTIME" type="text" value="{$EFFTIME}" size="20" maxlength="20" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" readonly="readOnly"/></td>
      </tr>
      <tr>
        <td>{$lbl_EXPTIME}</td>
        <td><input name="EXPTIME" id="EXPTIME" type="text" value="{$EXPTIME}" size="20" maxlength="20" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" readonly="readOnly"/></td>
      </tr>
      <tr>
        <td>{$lbl_EFFDATE}</td>
        <td>
		
		{$option_EFFDATE}</td>
        </tr>
      <tr>
        <td>{$lbl_EXPDATE}</td>
        <td>{$option_EXPDATE}</td>
      </tr>
      <tr>
        <td width="154">&nbsp;</td>
        <td width="376"><span style="color:#FF0000">{$error_hour}{$error_date}</span></td>
		  <!--<input name="TOTAL" id="TOTAL" type="hidden"/>-->
        </tr>
    </table></td>
  </tr>
  
<tr>
<td colspan="7">
<!--<div align="center" style="width:750px;height:300px;overflow:auto;border:1px solid #6B82AC;">
<table width="100%" border="0" cellpadding="0" cellspacing="1" id="tblSample">
  <thead>
  <tr>
    <th nowrap="nowrap">{$lbl_STT}</th>  
    <th nowrap="nowrap">{$lbl_RPTID}</th>
    <th nowrap="nowrap">{$lbl_VNDESC}</th>
	<th nowrap="nowrap">{$lbl_ENDESC}</th>
	<th nowrap="nowrap">{$lbl_EFFDATE}</th>
	<th nowrap="nowrap">{$lbl_EXPDATE}</th>
	</tr>
  </thead>
  <tbody></tbody>
</table>
{$tbldata}</div>--></td>
<tr>
<td colspan="7"></td>
</tr>
<tr>
<td colspan="7" align="right">
<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
